//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Unity;
using EntLibContrib.Query.Configuration.Unity;
using EntLibContrib.Query.Parameters;

namespace EntLibContrib.Query.Configuration
{
	/// <summary>
	/// Configuration data defining NameValueParameterData.
	/// </summary>    
	[Assembler(typeof(NameValueParameterAssembler))]
	[ContainerPolicyCreator(typeof(NameValueParameterPolicyCreator))]
	public class NameValueParameterData : ParameterData
	{
		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="NameValueParameterData"/> class.
		/// </summary>
		public NameValueParameterData()
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="NameValueParameterData"/> class.
		/// </summary>
		/// <param name="name">The parameter name.</param>
		public NameValueParameterData(string name)
			: base(name, typeof(NameValueParameter))
		{
		}
		#endregion
	}
}
